package com.exrobot.module.rbt.controller.admin.orderitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 订单信息新增/修改 Request VO")
@Data
public class OrderItemSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24215")
    private Long id;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "订单号不能为空")
    private String orderSn;

    @Schema(description = "机器人SN")
    private String robotSn;

    @Schema(description = "机器人盒子SN")
    private Integer robotBoxSn;

    @Schema(description = "任务ID", example = "17702")
    private String taskNo;

    @Schema(description = "菜单SN")
    private Long canteenSn;

    @Schema(description = "菜单编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "菜单编码不能为空")
    private Long menuSn;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}